﻿using System.Collections;
using System.Collections.Generic;

//游戏数据
namespace GameData
{
    public enum NumberState
    {
        Receive = 0,//领号
        Picked = 1,//抽中
        Due = 2,//处理中
        Cancle=3,//取消
        Complete=4,//完成

    }


    //帐号密码
    public class UserInfo
    {
        public string username;
        public string password;
        public bool isTourist = false;
    }


    public class RoleInfo
    {
        //角色ID
        public int ID;
        //
        public string UserName;
        //角色名称-昵称
        public string Name;
        //权限
        public string power;
        //错误
        public string ErrorInfo;
        //帐号信息
        public UserInfo UserInfo;


    }

    //号码信息
    public class NumberInfo
    {
        //号码状态 0 取号 1 抽中 2 处理 3 弃号
        public int state;
        //号码
        public int value;
        //排队
        public int QueueNum;
        //窗口号
        public int WindowNum;
        //是否VIP
        public bool isVIP;
        //需要到第几位抽中
        public int needque;
        //
        public string name;
        //
        public string phone;
        //
        public string idCrad;
        //ID
        public string ID;
        //组
        public string group;
        //组tag
        public string groupTag;
        //
        public int PrintCount=0;
        //是否为新客户
        public bool isNew=true;
    }

    public class NumAllInfo
    {
        //基础数据
        //一次抽号数量
        public int PickNum;

        //当前号码排号 -可以动态改变，设置排号
        public int CurCount;
        //真实号码排号 -客人数量
        public int peopleCount;
        //可以显示个数
        public int showNum;
        //领取中号码数
        public int recCount;
        //抽中个数
        public int pickCount;
        //放弃个数
        public int cancleCount;
        //处理中个数
        public int duCount;
        //完成个数
        public int completeCount;
        //
        public bool isRecIdCard;
        //开盘名称
        public string trunName ;
        //数量
        public Dictionary<string, int> numberCountdic = new Dictionary<string, int>();
        //设置数据
        public Dictionary<string, string> SetDataDic = new Dictionary<string, string>();
        //队列数据
        public List<string> batchList = new List<string>();
        //排队队列
        public PickNumInfo PickNumInfo;
        //

    }

    /// <summary>
    /// 抽中号码列表
    /// </summary>
    public class PickNumInfo
    {
        //当前抽中的名单
        public List<NumberInfo> NumberInfoList;
        //是否已经完成抽奖
        public int isComplete;
        //
        public int curIndex;
        //所有排位
        public List<int> AllPickNumberList;
    }

    public class NextNumber
    {
        public int windowsid;
        public int value;
        public string groupname;

    }

    public class SetDataInfoDic
    {
        public Dictionary<string, string> SetDataDic = new Dictionary<string, string>();

    }


    /// <summary>
    /// 当前排号所有名单
    /// </summary>
    public class PickAllNumInfo
    {
        public List<NumberInfo> NumberInfoList;
    }


    public class DueNuminfos
    {
        public List<NumberInfo> NumberInfoList;

    }


    public class NumberData
    {
        public int value;
        public int value2;
        
    }

    public class AllNumbers
    {
        public List<NumberInfo> NumberInfoList = new List<NumberInfo>();
        public List<NumberInfo> OtherList = new List<NumberInfo>();
        public string resInfo="";

    }

    public class CallNumber
    {
        public int windowsid;
        public NumberInfo numberInfo;
        public bool isRead;

        public CallNumber()
        {
            isRead = true;
        }
    }


    public class NumqueInfo
    {
        public int value;
        public int que;
    }


    public class SetNumToVIP
    {
       
        public List<NumberInfo> NumberInfoList;
    }

    //列表数据
    public class NumListData
    {
        //
        public List<NumberInfo> list1;
        public List<NumberInfo> list2;
        public List<NumberInfo> list3;
        public List<NumberInfo> list4;
        public List<NumberInfo> list5;
        public List<NumberInfo> list6;

    }

    public class SoundType
    {
        public bool putonghua;
        public bool yueyu;


    }


    //
    


    public class DataInfo
    {
        public string dataType;
        public string valueStr;
    }



    //
    public class RecNumType
    {
        public bool reNumType;
    }

    public class CustomerData
    {
        public string id;
        public string name;
        public string phone;
        public bool isVip;
        public int Number;
        public string que;//排位
        public List<string> MoneyNumLists = new List<string>();
        public string IdCard;
        public bool issign=false;//是否已经签到
        public List<string> NumerList = new List<string>(); 
        public string group;
        public bool isadmin;
        public string groupTag;
        public string salename;
    }

    public class CheckNum
    {
        public string idCard;
        public string name;
        public string phone;
        public string payNum;

    }


    public class ResponserData
    {
        public string result;
    }
    //

    public class CustomerSignData
    {
        public string name;
        public string phone;
        public bool isSign;
        public string numstr;
        public string salename;
    }

    public class CustomerSignDataList
    {
        public List<CustomerSignData> csList=new List<CustomerSignData>();
    }

}
